<template>
  <el-container class="home-container">
    <!-- 头部区域 -->

    <el-header>
      <global-header></global-header>
    </el-header>
    <el-container>
      <!-- 左边侧栏 -->
      <el-aside width="200px">
        <side-menu></side-menu>
      </el-aside>
      <!-- 右侧主体区域 -->
      <el-container>
        <!-- 主体显示区域 -->
        <el-main>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </el-container>
</template>

<script>
import GlobalHeader from 'components/header/GlobalHeader'
import SideMenu from 'components/sidemenu/SideMenu'

export default {
  name: 'Home',
  components: {
    GlobalHeader,
    SideMenu
  },
  methods: {}
}
</script>
<style lang="less" scoped>
.home-container {
  height: 100%;
}
.el-header{
  padding: 0;
}
.el-aside {
  background-color: #35495e;
}
.el-footer {
  background-color: #f1f9fc;
}
</style>
